package org.text2diagram.ddl.converter.dot;

import org.text2diagram.ddl.domain.Link.LinkStyle;

public enum EdgeStyle {
	
	BOLD, DOTTED, SOLID; //only small subset, to be extended
	
	public static EdgeStyle convert (LinkStyle linkStyle) {
		switch (linkStyle) {
			case DASHED: return DOTTED;
			case SOLID: return SOLID;
		}
		return null;
	}
	
}
